package com.adams.custom.page;

import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class AppContext
{

	private static AbstractApplicationContext appContext = new ClassPathXmlApplicationContext(
			"applicationContext-test.xml");

	// private AppContext()
	// {
	//
	// }

	public static Object getBean(String name)
	{
		return appContext.getBean(name);
	}

}
